All Questions
Tagged with angularjsangularjs-ng-repeat
8,834 questions
1vote
0answers
45views
How can I fix the slot ng-repeat so it will display the areas for the selected block?
I am trying to display the areas for the selected block, the wizardStep is the parent controller and the optionSelector is the child controller. I am sending the selected name and value of the ...
0votes
0answers
56views
ng-repeat disable other repeated HTML Attribute
I am using "ng-repeat" to display 3 elements => Radio buttons- Yes/No, "Save" & "Cancel" buttons. Objective of this question is to Enable only 1 HTML Attribute at ...
0votes
1answer
24views
Set background color of table column with AngularJS
I would like to set the background color of a table column with AngularJS. I found an example without AngularJS: $('td').hover(function() { var t = parseInt($(this).index()) + 1; $('td:nth-...
1vote
1answer
48views
In angular, ng-repeat breaks the options into options again
My js array is ["standard", "premium"] When I click on the dropdown option for the first time, it’s showing option as standard and premium. After choosing any one of them the ...
1vote
1answer
50views
AngularJS (1.5.0) nested ng-repeat with radio button not initializing checked properly
I use a dynamic name attribute technique. I'm using AngularJS verison 1.5.0. When I run this AngularJS example (code below), which has nested ng-repeats (so I use $index and $parent.$index), I expect ...
0votes
2answers
61views
Javascript do-while loop condition causing error
I am running an older version of Ionic v1 which is no longer supported. It appears I have discovered a bug that is not covered anywhere. The only two mentions of it are 1) related to collection-...
0votes
0answers
48views
ng-repeat going into infinite loop on array of objects
I have an HTML block that is accessing values using ng-repeat in an object array 'items' of type: [{ method: 0, text: 'text1' }, { method: 1, text: 'text2' }, { method: 3, text:...
1vote
0answers
94views
How I suppose to break 10 k records in ng-repeat in HTML table?
I want to show records of 10k in an HTML table using ng-repeat, but when ng-repeat runs, it crashes the browser every time. I need solutions so I can fix it. I am looking for a solution so I can fix ...
0votes
1answer
55views
different image url each profile (ng-repeat)(ng-src)
I want a different image url each person profile everytime they’re profile details appeared. But what happen is it’s only targeted the last url on $scope.imgSrc so they have all same pics which is I ...
0votes
1answer
57views
AngularJS : table rowspan dynamic
I would like to know how can I display a table with ng-repeat from AngularJS like this: 4 columns after a row with a colspan of 4 and so on. My code angular return database from data html <table&...
-1votes
1answer
21views
how to filter table data using angularJS filter from a selection value
I have a table with a column of Status, and I want to filter the table base on their status and I have put on the selection element to do so. here is my code below for the selection <select class=&...
3votes
1answer
130views
why is ng-repeat not working in custom directive?
I am new to AngularJS and I cannot get ng-repeat to work when embedded in a directive as follows <settings-widget> <ul class="ul-border"> <li class="box" ng-...
0votes
2answers
226views
ng-if or ng-repeat in angularjs remove web-components from DOM
I have 14.2 angular and I need to reuse components from angular in the legacy project in angular js (1.8.3) using web components. I have two examples: https://stackblitz.com/edit/angularjs-with-...
1vote
0answers
79views
ng-isolate-scope in each child directive along with ng-repeat in AngularJS
The HTML template contains the nested directives. The child directive will create the element or fields based on the data injected to it. So field can be type of dropdown, input field etc. I suspect ...
0votes
1answer
89views
show more in AngularJS dropdown
I have a select Dropdown created using AngularJS. We have set a limit to show the top 5 items and the remaining 5 items should be visible to the user . when he clicks the 5th item with the name "...